
//iyte-prt protocol commands
//let's put these into a separate file later.
#include <Arduino.h>
const byte ST_SE_READY=0x12;
const byte ST_SE_REGISTER=0x01;
const byte ST_SE_UPDATE=0x02;
const byte ST_SE_ADD_PASSENGER=0x03;
const byte ST_SE_CONFIG=0x04;
const byte ST_SE_GET_PASSENGER=0x05;
const byte ST_SE_PASSENGER_LIST=0x06;
const byte OK= 0x7B;

const byte SERVER_ID=0x7F;
const byte MY_ID=0x01;      // unique for each PRT

//Message(packet) Struct
struct MESSAGE {
       byte dest;
       byte src;
       byte len;
       byte cmd;
       byte params[256];
};
